package com.gitee.devinx3.mlc.message;

public class MsgCommand {

    private String action;
    private String id;
    private String msg;

    public MsgCommand(){

    }

    public MsgCommand(String action, String id, String msg) {
        this.action = action;
        this.id = id;
        this.msg = msg;
    }

    public String getAction() {
        return action;
    }

    public MsgCommand setAction(String action) {
        this.action = action;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public MsgCommand setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public String getId() {
        return id;
    }

    public MsgCommand setId(String id) {
        this.id = id;
        return this;
    }

    @Override
    public String toString() {
        return "MsgCommand{" +
                "action='" + action + '\'' +
                ", id='" + id + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }
}
